package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.CustomerDao;
import com.lphj.datainterface.entity.Customer;
import com.lphj.datainterface.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {

    @Autowired
    CustomerDao customerDao;

    @Override
    public Customer getCustomer(String gm_customerTypeNO) {
        return customerDao.GetCustomer(gm_customerTypeNO);
    }

    @Override
    public List<Customer> getCustomerByAll() {
        return customerDao.GetCustomerByAll();
    }
}
